Friends\Friends D

Total Complexity 173
Dependencies 25
Dependents 21
Total lines 1,277
Lines of code 857
Logical lines of code 406
Comment lines 256
Methods 47
Properties 8

Methods 47

Method Rating Maintainability Complexity Lines of code
upgrade_plugin()
A
45 13 40
get_avatar_data()
A
49 12 31
on_frontend()
A
48 12 28
get_post_count_by_post_format()
A
43 7 48
wp_query_get_post_format_tax_query()
A
46 6 46
uninstall_plugin()
S
44 6 42
activate_plugin()
S
57 7 18
setup_roles()
S
51 6 26
add_default_sidebars_widgets()
S
49 5 34
get_main_friend_user_id()
S
57 6 17
register_custom_post_type()
S
37 1 91
setup()
S
52 5 26
upgrade_plugin_trigger()
S
62 6 10
disable_friends_author_page()
S
63 6 10
pre_get_posts_filter_by_post_format()
S
62 6 10
url_truncate()
S
54 4 20
translate_user_role()
S
57 4 17
limit_post_format_request()
S
63 5 10
activate_for_blog()
S
60 4 13
http_header()
S
60 4 12
get_role_capabilities()
S
53 3 25
create_friends_page()
S
47 2 38
get_post_stats()
S
47 1 47
authenticated_for_posts()
S
76 4 3
get_link_rels()
S
60 3 13
get_html_rel_links()
S
60 3 13
check_url()
S
61 3 12
get_post_format_plural_string()
S
54 2 18
get_html_link_rel_alternate_post_formats()
S
57 2 15
__construct()
S
55 1 19
register_hooks()
S
57 1 16
get_instance()
S
68 2 8
template_loader()
S
69 2 7
has_required_privileges()
S
78 2 3
is_main_user()
S
78 2 3
enable_post_formats()
S
73 2 5
get_retention_number()
S
69 2 7
get_retention_days()
S
69 2 7
html_rel_links()
S
62 1 13
init()
S
81 1 3
get_friends_plugin_roles()
S
77 1 3
deactivate_plugin()
S
75 1 4
required_menu_role()
S
81 1 3
add_frontend_post_types()
S
79 1 3
get_main_header_data()
S
67 1 8
comment_form_defaults()
S
68 1 6
strip_non_ascii()
S
69 1 6